import java.sql.Struct;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 123
 * Date: 2023-04-26
 * Time: 20:43
 */

class Animal{
    public String name;
    public int age;
    public String color;
    void eat(){
        System.out.println(name+"正在吃饭");
    }

}

class Dog extends Animal{


    public void wangWang(){
        System.out.println(name+"正在旺旺叫！");
    }
}

class Cat{

}




public class j2023_4_26 {

    public static void main(String[] args) {


    }

}
